﻿using Microsoft.AspNetCore.Mvc;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;

namespace DotNetCoreApi.Filter
{
    /// <summary>
    /// 响应模型
    /// </summary>
    public class ResponseType: ProducesResponseTypeAttribute
    {
        /// <summary>
        /// 继承父类
        /// </summary>
        /// <param name="type"></param>
        /// <param name="statusCode"></param>
        public ResponseType(Type type, int statusCode = 200):base(type, statusCode)
        {
        }
    }
}
